package com.ruoyi.project.system.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.MbEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 部门用户中间对象 sys_dept_user
 *
 * @author ruoyi
 * @date 2020-06-04
 */
@Data
@TableName("sys_dept_user")
@ApiModel(value="sys_dept_user对象", description="部门用户中间")
public class SysDeptUser extends MbEntity {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "")
    private Long id;

    @Excel(name = "律所ID")
    @TableField("dept_id")
    @ApiModelProperty(value = "部门ID")
    private Long deptId;

    @Excel(name = "团队ID")
    @TableField("team_id")
    @ApiModelProperty(value = "部门ID")
    private Long teamId;

    @Excel(name = "用户ID")
    @TableField("user_id")
    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @TableField("create_time")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @TableField("update_time")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @TableField("create_by")
    @ApiModelProperty(value = "创建人")
    private String createBy;


}
